package com.me.modules.questionnaire.service;

import com.me.modules.questionnaire.entity.QuSurveyAnswerEntity;

import java.util.List;
import java.util.Map;

/**
 * 答卷
 *
 * @author me
 * @email me@163.com
 * @date 2019-01-23 10:27:38
 */
public interface QuSurveyAnswerService {

	QuSurveyAnswerEntity queryObject(Integer id);

	List<QuSurveyAnswerEntity> queryList(Map<String, Object> map);

    List<QuSurveyAnswerEntity> queryListByBean(QuSurveyAnswerEntity entity);

	int queryTotal(Map<String, Object> map);

	int save(QuSurveyAnswerEntity quSurveyAnswer);

	int update(QuSurveyAnswerEntity quSurveyAnswer);

	int delete(Integer id);

	int deleteBatch(Integer[] ids);

    int saveAnswer(QuSurveyAnswerEntity surveyAnswerEntity, Map<String,Map<String,Object>> quMaps);

	int queryAnswerTotal(String id);
}
